package com.usermanage.Service;


import com.usermanage.util.JsonData;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.List;
import java.util.Map;

public interface WechatService {

    boolean isExistFindByOpenId(String openId);
    JsonData unBindEos(String openId);
    JsonData boundEOS(HttpServletRequest request,String account, String password, String openid) throws Exception;
    JsonData login(HttpServletRequest request,String openId) throws Exception;
    JsonData tree() throws IOException;
    JsonData spu(String param)throws IOException;
    JsonData skuList(String page,String limit,String key,String spuCode,String cls)throws IOException;
    JsonData skuInfo(String sku_code);

}
